-
Home
-
Simple Newsletter Plugin – Noptin
-
3.7.8
-
Code
-
Classes
- Main
| Total Complexity |
47 |
| Dependencies |
4 |
| Dependents |
1 |
| Total lines |
377 |
| Lines of code |
183 |
| Logical lines of code |
86 |
| Comment lines |
124 |
| Methods |
16 |
| Properties |
5 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| set_current_campaign() |
S |
46 |
6 |
43 |
| get_next_task() |
S |
55 |
7 |
20 |
| process_task() |
S |
54 |
6 |
21 |
| send_newsletter_campaign() |
S |
53 |
5 |
23 |
| handle_unexpected_shutdown() |
S |
60 |
5 |
12 |
| init_email_senders() |
S |
62 |
3 |
12 |
| increase_emails_sent_this_hour() |
S |
60 |
3 |
12 |
| instance() |
S |
71 |
2 |
6 |
| before_run() |
S |
69 |
2 |
7 |
| exceeded_hourly_limit() |
S |
74 |
2 |
4 |
| __construct() |
S |
66 |
1 |
8 |
| has_sender() |
S |
79 |
1 |
3 |
| send_pending() |
S |
79 |
1 |
3 |
| current_hour() |
S |
80 |
1 |
3 |
| emails_sent_this_hour() |
S |
78 |
1 |
3 |
| cleanup_hourly_email_count() |
S |
80 |
1 |
3 |